package com.xinzhi.savingpot.background.mapper;


import com.xinzhi.savingpot.background.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface IUserMapper {
    /**
     * 根据姓名查询用户
     *
     * @param userName
     * @return
     */
    User queryUserByName(@Param("username") String userName);

}
